package com.doraro.coal.vo;

import com.doraro.coal.moudle.user.model.entity.Organize;
import com.doraro.coal.moudle.user.model.entity.Role;
import com.doraro.coal.moudle.user.model.entity.User;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Set;

/**
 * @author doraro
 * @since 2019-09-30 16:51
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UserDto extends User {
    public UserDto(User user) {
        super(user);
    }

    private Organize organize;
    private Role role;
    private Set<String> perms;
}
